package com.qk.aop.anno;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import java.util.concurrent.TimeUnit;


/**
 * @author 28188
 */
@Target(ElementType.METHOD)
@Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
public @interface Cacheable {

    String redisKey() default "";

    String keyPrefix() default "";

    long expireTime() default 0;

    TimeUnit expireTimeUnit() default TimeUnit.SECONDS;
}
